# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'FigureSettings.ui'
#
# Created: Mon Feb 07 02:13:21 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_FigureSettings(object):
    def setupUi(self, FigureSettings):
        FigureSettings.setObjectName(_fromUtf8("FigureSettings"))
        FigureSettings.resize(832, 231)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(FigureSettings.sizePolicy().hasHeightForWidth())
        FigureSettings.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(FigureSettings)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.preview = QtGui.QGraphicsView(FigureSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.preview.sizePolicy().hasHeightForWidth())
        self.preview.setSizePolicy(sizePolicy)
        self.preview.setFrameShape(QtGui.QFrame.NoFrame)
        self.preview.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.preview.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.preview.setObjectName(_fromUtf8("preview"))
        self.gridLayout.addWidget(self.preview, 0, 0, 2, 1)
        spacerItem = QtGui.QSpacerItem(10, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 1, 1, 1)
        self.label = QtGui.QLabel(FigureSettings)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 2, 1, 1)
        self.figureType = QtGui.QComboBox(FigureSettings)
        self.figureType.setMinimumSize(QtCore.QSize(200, 0))
        self.figureType.setObjectName(_fromUtf8("figureType"))
        self.figureType.addItem(_fromUtf8(""))
        self.figureType.addItem(_fromUtf8(""))
        self.figureType.addItem(_fromUtf8(""))
        self.figureType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.figureType, 0, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(10, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 4, 1, 1)
        self.label_2 = QtGui.QLabel(FigureSettings)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 5, 1, 1)
        self.figureColorBtn = QtGui.QToolButton(FigureSettings)
        self.figureColorBtn.setMinimumSize(QtCore.QSize(50, 0))
        self.figureColorBtn.setMaximumSize(QtCore.QSize(50, 16777215))
        self.figureColorBtn.setText(_fromUtf8(""))
        self.figureColorBtn.setObjectName(_fromUtf8("figureColorBtn"))
        self.gridLayout.addWidget(self.figureColorBtn, 0, 6, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 10, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(10, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 0, 7, 1, 1)
        self.label_3 = QtGui.QLabel(FigureSettings)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 8, 1, 1)
        self.figureKeyBtn = QtGui.QToolButton(FigureSettings)
        self.figureKeyBtn.setObjectName(_fromUtf8("figureKeyBtn"))
        self.gridLayout.addWidget(self.figureKeyBtn, 0, 9, 1, 1)

        self.retranslateUi(FigureSettings)
        QtCore.QObject.connect(self.figureType, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(int)")), FigureSettings.onFigureTypeChanged)
        QtCore.QObject.connect(self.figureColorBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), FigureSettings.onColorChange)
        QtCore.QObject.connect(self.figureKeyBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), FigureSettings.onFigureKeyChange)
        QtCore.QMetaObject.connectSlotsByName(FigureSettings)

    def retranslateUi(self, FigureSettings):
        FigureSettings.setWindowTitle(QtGui.QApplication.translate("FigureSettings", "Figure settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("FigureSettings", "Type:", None, QtGui.QApplication.UnicodeUTF8))
        self.figureType.setItemText(0, QtGui.QApplication.translate("FigureSettings", "Square", None, QtGui.QApplication.UnicodeUTF8))
        self.figureType.setItemText(1, QtGui.QApplication.translate("FigureSettings", "Circle", None, QtGui.QApplication.UnicodeUTF8))
        self.figureType.setItemText(2, QtGui.QApplication.translate("FigureSettings", "Rhomb", None, QtGui.QApplication.UnicodeUTF8))
        self.figureType.setItemText(3, QtGui.QApplication.translate("FigureSettings", "Triangle", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("FigureSettings", "Color:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("FigureSettings", "Key:", None, QtGui.QApplication.UnicodeUTF8))
        self.figureKeyBtn.setText(QtGui.QApplication.translate("FigureSettings", "...", None, QtGui.QApplication.UnicodeUTF8))

